package com.sh.data.engine.infrastructure.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/20 21:05
 */
@Component
@ConfigurationProperties(prefix = "xxl")
@Data
public class XxlJobProperties {

    private final Job job = new Job();

    @Data
    public static class Job {
        private Executor executor;

        @Data
        public static class Executor {
            private String appname;
        }
    }
}
